<?php
class UserRole extends EmsModelObject
{

	private $roleName;
	public function RoleName($value)
	{
	    if($value == NULL)
	        return $this->roleName;
	    $this->roleName = $value;        
	            
	}
	
	private $roleDescription;
	public function RoleDescription($value)
	{
	    if($value == NULL)
	        return $this->roleDescription;
	    $this->roleDescription = $value;        
	            
	}
	
	public function __construct($entity)
	{
		//Map entity to object
	}
	
	public function IsValid()
	{
		//Validate object
	}
	
	public function SaveChanges()
	{
		//Save changes to DB
	}
	
	public static function GetType()
	{
		return __CLASS__;
	}
}
?>